package com.uni.exp5.dao;

import com.uni.exp5.pojo.User;
import org.springframework.stereotype.Component;

@Component("UserDao")
public class UserDaoImpl implements UserDao{
    @Override
    public void add(User user) {
        System.out.println("添加新用户: " + user.getName() + " 到数据库");
    }
}
